/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.forward.mobile.optitrans.domain;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 *
 * @author jbromo
 */
public class Device {
    
    private int id;
    private String uuid;
    private String name;
    private int idClient;

    public int getIdClient() {
        return idClient;
    }


    public Device(ResultSet resultSet) throws SQLException {
        this.id=resultSet.getInt("id");
        this.uuid=resultSet.getString("uuid");
        this.idClient=resultSet.getInt("id_client");
     }

    public int getId() {
        return id;
    }

  

    public String getUuid() {
        return uuid;
    }


    public String getName() {
        return name;
    }

   
   
    
    
}
